<div class="container clearfix">
	<div class="ui-contain">
		<div class="ui-region-list-area">
			
		    <?PHP
		     foreach($datalist as $version) {
		    	$item = json_decode($version['VersionControl']['content'],true);
				$item = $item[$modelClass];
    		?>	
				<li class="regionlist clearfix">	
	<!-- <div class="ui-share">
    	<div class="ui-state-default"><a href="javasctipt:void(0);" onclick="return addtofavor('Article','{{$item['id']}}');">分享</a></div>
    	<div class="ui-widget-content ui-share-num"><span class="ui-stats-num" id="Stats-Article-{{$item['id']}}-favor_nums">{{if $item['favor_nums']}}({{$item['favor_nums']}}){{else}}0{{/if}}</span></div>
    </div>-->
	<div class="regionleft">
		
		<div style="float:right;">
			<?PHP 
			if($item['coverimg']){
				echo $this->Html->image($item['coverimg'], array('title'=>$item['name'],));
			}
			?>
		</div>
		<div class="listauthor"> 
			<a target="_blank" name="{{$item['name']}}" href="/admin/version_controls/view/{{$modelClass}}/{{$item['id']}}/{{$version['VersionControl']['version_id']}}">
			版本号：{{$version['VersionControl']['version_id']}} &nbsp;|&nbsp;
				{{usubstr($item['name'],0,35)}}

			<small> &nbsp;&nbsp; {{$version['VersionControl']['created']}}</small> 
			</a>
		</div>
		
	</div>
</li>
		
			<?php } ?>
			<div class="clear"></div>
		</div>

		{{if empty($datalist)}}
			<p>这条数据没有记录的历史版本信息。</p>
		{{/if}}
		
	</div>
	<div class="ui-contain">
	</div>
</div>